__author__ = 'Administrator'
# -*- coding: utf-8 -*-
import md5
#1.md5.new()
def newFun(str):
    str = md5.new(str)
    print str.digest()
    print str.hexdigest()


newFun('350170406')